package com.lancoo.klgcourseware.entity;

/**
 * Created by pengmi on 2018/11/7.
 * Description:知识点课件接口解析通用模型
 */

public class KlgApiResponse<T> {

    //1 为成功，2 为失败
    private int State;
    //操作结果信息或错误信息（成功时为空）
    private String Msg;
    //结果数据集合
    private T Data;

    public int getState() {
        return State;
    }

    public void setState(int state) {
        State = state;
    }

    public String getMsg() {
        return Msg;
    }

    public void setMsg(String msg) {
        Msg = msg;
    }

    public T getData() {
        return Data;
    }

    public void setData(T data) {
        Data = data;
    }
}
